home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 June / PCpro_2005_06.ISO / files / opensource / syntexteditor / synsetup-2.1.0.46.exe / {app} / R.dci < prev    next >
Encoding:
INI File  |  2003-08-04  |  1.2 KB  |  72 lines

  1. [tread | Read Table]
  2. t0 <- read.table("|", sep = "\t", header = FALSE)
  3.  
  4. [func | Function]
  5. | <- function() {
  6.  
  7. }
  8.  
  9. [if | If Statement]
  10. if(|) {
  11.  
  12. }
  13.  
  14. [ifelse | If Else Statement]
  15. if (|) {
  16.  
  17. } else {
  18.  
  19. }
  20.  
  21. [ifel | IfElse Function]
  22. ifelse(|, , )
  23.  
  24. [forin | For In Statement]
  25. for (| in ) {
  26.  
  27. }
  28.  
  29. [while | While Statement]
  30. while(|) {
  31.  
  32. }
  33.  
  34. [repeat | Repeat Statement]
  35. repeat(|) {
  36.  
  37. }
  38.  
  39. [switch | Switch Function]
  40. switch(|, )
  41.  
  42. [src | Load Source file]
  43. source("|")
  44.  
  45. [di | Import SPSS Data]
  46. library(foreign); Dataset <- read.spss("|", use.value.labels=TRUE, max.value.labels=Inf, to.data.frame=TRUE) 
  47.  
  48. [cd | Change Working Directory]
  49. setwd("|")
  50.  
  51. [hs | Search for Help]
  52. help.search("|")
  53.  
  54. [ha | Apropos]
  55. apropos("|")
  56.  
  57. [lp | Load Package]
  58. {.pkg <- select.list(sort(.packages(all.available = TRUE))); if(nchar(.pkg)) library(.pkg, character.only=TRUE); rm(.pkg)}
  59.  
  60. [ro | Remove all Objects]
  61. .ans <- winDialog('yesno', 'Are you sure?'); if (.ans == 'YES') rm(list=ls(all=TRUE)) else rm(.ans)
  62.  
  63. [ps | PostScript Output]
  64. postscript(file = "|", width = 5,
  65.   height = 5, horizontzal = FALSE, paper = "special",
  66.   onefile = FALSE)
  67.  
  68. [pdf | PDF Output]
  69. pdf(file = "|", width = 5,
  70.   height = 5, onefile = FALSE)
  71.  
  72.